﻿/*----------------------------------------------------------------------------------------
*
*  Copyright 2019, Gao Hai Hui, <fromzeropoint@126.com>.  All rights reserved.
*  https://gitee.com/helloworldghh/xoskit.git
*  Use of this source code is governed by a MIT license
*  that can be found in the License file.
*
----------------------------------------------------------------------------------------*/
#ifndef __AE17FFA3_C6CC_4bf2_85A3_63B19E002A86__
#define __AE17FFA3_C6CC_4bf2_85A3_63B19E002A86__

#include "../macro/head.h"
#include "../release/head.h"

/////////////////////////////////////////////////////////////////////////////////////////
// 

namespace xos_box
{
    class i_callback;
}

namespace xos
{

    // 
    // i_dir_monitor interface
    // 
    class i_dir_monitor : public i_release
    {
    public:
        virtual ~i_dir_monitor(){}

    public:
        // 
        // set callback
        // 
        virtual int set_callback( xos_box::i_callback * lpCallback, f_runnable lpRunnableObj ) = 0;

        // 
        // set dir to monitor
        // 
        virtual int set_dir( const char * lpszPath ) = 0;
    };
}

#endif // __AE17FFA3_C6CC_4bf2_85A3_63B19E002A86__
